[INFO] cloning repository https://github.com/1925chicken/library-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1925chicken/library-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b5ed0ce97f06e0ee399062088bd107f9b444fee8
[INFO] checking 1925chicken/library-rs against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1925chicken%2Flibrary-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  93% (888/953)
Updating files:  94% (896/953)
Updating files:  95% (906/953)
Updating files:  96% (915/953)
Updating files:  97% (925/953)
Updating files:  98% (934/953)
Updating files:  99% (944/953)
Updating files: 100% (953/953)
Updating files: 100% (953/953), done.
[INFO] validating manifest of git repo https://github.com/1925chicken/library-rs on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/1925chicken/library-rs
[INFO] finished tweaking git repo https://github.com/1925chicken/library-rs
[INFO] tweaked toml for git repo https://github.com/1925chicken/library-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/1925chicken/library-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6ea3c97bae2691657a987bba26c6fb97569a04e257dd97df61c6900ec1baefb
[INFO] running `Command { std: "docker" "start" "-a" "e6ea3c97bae2691657a987bba26c6fb97569a04e257dd97df61c6900ec1baefb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6ea3c97bae2691657a987bba26c6fb97569a04e257dd97df61c6900ec1baefb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6ea3c97bae2691657a987bba26c6fb97569a04e257dd97df61c6900ec1baefb", kill_on_drop: false }`
[INFO] [stdout] e6ea3c97bae2691657a987bba26c6fb97569a04e257dd97df61c6900ec1baefb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 326a6d0352f6ae0d4df3ae1d834143616d55655e22fb80c7caf922accaa8f69d
[INFO] running `Command { std: "docker" "start" "-a" "326a6d0352f6ae0d4df3ae1d834143616d55655e22fb80c7caf922accaa8f69d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking cli_test_dir v0.1.7
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]    Compiling num-derive v0.3.0
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]    Compiling proconio-derive v0.1.5
[INFO] [stderr]     Checking proconio v0.3.6
[INFO] [stderr]     Checking libarary v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `mod_sqrt`
[INFO] [stdout]   --> src/bin/mod_sqrt.rs:77:2
[INFO] [stdout]    |
[INFO] [stdout] 77 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/mod_sqrt.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "mod_sqrt") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `<eof>`
[INFO] [stdout]   --> src/bin/polynomial_factrise.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Zero fpr 
[INFO] [stdout]    |           ^^^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "polynomial_factrise" test) due to 2 previous errors
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/miller_rabbin_bigint.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `g` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "Jacobi_symbol" test) due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: value assigned to `ys` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                          ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cnt` is assigned to, but never used
[INFO] [stdout]   --> src/bin/pollards_rho.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut cnt = 0;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_cnt` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]   --> src/bin/pollards_rho.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 cnt = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |          ----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:50:46
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let (mut x, mut r, mut q, mut g, mut ys, mut m) = (1, 1, 1, 1, 1, 1);
[INFO] [stdout]    |                                              ----^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut x = y;
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/pollards_rho.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |             let mut lim = std::cmp::min(m, r - k);
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/pollards_rho.rs:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut n = read.i64();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INF` is never used
[INFO] [stdout]    --> src/bin/miller_rabin.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | const INF: u64 = 1u64 << 60;
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::*;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num::ToPrimitive`
[INFO] [stdout]  --> src/bin/Jacobi_symbol.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num::ToPrimitive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factrise_map` is never used
[INFO] [stdout]   --> src/bin/pollards_rho.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn factrise_map(n: i128) -> std::collections::HashMap<i128, i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INF` is never used
[INFO] [stdout]    --> src/bin/pollards_rho.rs:355:7
[INFO] [stdout]     |
[INFO] [stdout] 355 | const INF: i64 = 1i64 << 60;
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `Jacobi_symbol`
[INFO] [stdout]   --> src/bin/Jacobi_symbol.rs:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/bin/Jacobi_symbol.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigUint`, `ToBigUint`
[INFO] [stdout]  --> src/bin/miller_rabbin_bigint.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint, ToBigInt, ToBigUint};
[INFO] [stdout]   |                          ^^^^^^^            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/bin/miller_rabbin_bigint.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |             a = rand::thread_rng()
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "Jacobi_symbol") due to 3 previous errors; 1 warning emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/bin/miller_rabbin_bigint.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |             a = rand::thread_rng().gen_range(1, k).to_bigint().unwrap();
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libarary` (bin "miller_rabbin_bigint") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "326a6d0352f6ae0d4df3ae1d834143616d55655e22fb80c7caf922accaa8f69d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "326a6d0352f6ae0d4df3ae1d834143616d55655e22fb80c7caf922accaa8f69d", kill_on_drop: false }`
[INFO] [stdout] 326a6d0352f6ae0d4df3ae1d834143616d55655e22fb80c7caf922accaa8f69d
